Optimal. Leaf size=341 \[ -\frac{2 (d+e x)^3 \left (x \left (-b c (A e+B d)+2 A c^2 d+b^2 B e\right )+A b c d\right )}{3 b^2 c \left (b x+c x^2\right )^{3/2}}-\frac{e \sqrt{b x+c x^2} \left (2 b^3 c e^2 (3 A e+7 B d)+4 b^2 c^2 d e (A e+2 B d)-16 b c^3 d^2 (3 A e+B d)+32 A c^4 d^3-15 b^4 B e^3\right )}{3 b^4 c^3}-\frac{2 (d+e x) \left (b c d^2 \left (10 A b c e-8 A c^2 d+b^2 (-B) e+4 b B c d\right )-x \left (2 b^3 c e^2 (A e+3 B d)+4 b^2 c^2 d e (A e+B d)-8 b c^3 d^2 (3 A e+B d)+16 A c^4 d^3-5 b^4 B e^3\right )\right )}{3 b^4 c^2 \sqrt{b x+c x^2}}+\frac{e^3 \tanh ^{-1}\left (\frac{\sqrt{c} x}{\sqrt{b x+c x^2}}\right ) (2 A c e-5 b B e+8 B c d)}{c^{7/2}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 1.06988, antiderivative size = 341, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.154 \[ -\frac{2 (d+e x)^3 \left (x \left (-b c (A e+B d)+2 A c^2 d+b^2 B e\right )+A b c d\right )}{3 b^2 c \left (b x+c x^2\right )^{3/2}}-\frac{e \sqrt{b x+c x^2} \left (2 b^3 c e^2 (3 A e+7 B d)+4 b^2 c^2 d e (A e+2 B d)-16 b c^3 d^2 (3 A e+B d)+32 A c^4 d^3-15 b^4 B e^3\right )}{3 b^4 c^3}-\frac{2 (d+e x) \left (b c d^2 \left (10 A b c e-8 A c^2 d+b^2 (-B) e+4 b B c d\right )-x \left (2 b^3 c e^2 (A e+3 B d)+4 b^2 c^2 d e (A e+B d)-8 b c^3 d^2 (3 A e+B d)+16 A c^4 d^3-5 b^4 B e^3\right )\right )}{3 b^4 c^2 \sqrt{b x+c x^2}}+\frac{e^3 \tanh ^{-1}\left (\frac{\sqrt{c} x}{\sqrt{b x+c x^2}}\right ) (2 A c e-5 b B e+8 B c d)}{c^{7/2}} \]
Antiderivative was successfully verified.
[In] Int[((A + B*x)*(d + e*x)^4)/(b*x + c*x^2)^(5/2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 156.265, size = 405, normalized size = 1.19 \[ \frac{e^{3} \left (2 A c e - 5 B b e + 8 B c d\right ) \operatorname{atanh}{\left (\frac{\sqrt{c} x}{\sqrt{b x + c x^{2}}} \right )}}{c^{\frac{7}{2}}} - \frac{2 \left (d + e x\right )^{3} \left (A b c d + x \left (2 A c^{2} d + B b^{2} e - b c \left (A e + B d\right )\right )\right )}{3 b^{2} c \left (b x + c x^{2}\right )^{\frac{3}{2}}} + \frac{4 \left (d + e x\right ) \left (\frac{b c d^{2} \left (- 10 A b c e + 8 A c^{2} d + B b^{2} e - 4 B b c d\right )}{2} + x \left (A b^{3} c e^{3} + 2 A b^{2} c^{2} d e^{2} - 12 A b c^{3} d^{2} e + 8 A c^{4} d^{3} - \frac{5 B b^{4} e^{3}}{2} + 3 B b^{3} c d e^{2} + 2 B b^{2} c^{2} d^{2} e - 4 B b c^{3} d^{3}\right )\right )}{3 b^{4} c^{2} \sqrt{b x + c x^{2}}} - \frac{e \sqrt{b x + c x^{2}} \left (6 A b^{3} c e^{3} + 4 A b^{2} c^{2} d e^{2} - 48 A b c^{3} d^{2} e + 32 A c^{4} d^{3} - 15 B b^{4} e^{3} + 14 B b^{3} c d e^{2} + 8 B b^{2} c^{2} d^{2} e - 16 B b c^{3} d^{3}\right )}{3 b^{4} c^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((B*x+A)*(e*x+d)**4/(c*x**2+b*x)**(5/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.640568, size = 237, normalized size = 0.7 \[ \frac{x^{5/2} \left (\frac{e^3 (b+c x)^{5/2} \log \left (\sqrt{c} \sqrt{b+c x}+c \sqrt{x}\right ) (2 A c e-5 b B e+8 B c d)}{c^{7/2}}-\frac{(b+c x) \left (2 x^2 (b+c x) (c d-b e)^3 \left (b c (5 B d-4 A e)-8 A c^2 d+7 b^2 B e\right )+2 c^3 d^3 x (b+c x)^2 (3 b (4 A e+B d)-8 A c d)+2 b x^2 (b B-A c) (c d-b e)^4+2 A b c^3 d^4 (b+c x)^2-3 b^4 B e^4 x^2 (b+c x)^2\right )}{3 b^4 c^3 x^{3/2}}\right )}{(x (b+c x))^{5/2}} \]
Antiderivative was successfully verified.
[In] Integrate[((A + B*x)*(d + e*x)^4)/(b*x + c*x^2)^(5/2),x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.017, size = 1026, normalized size = 3. \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((B*x+A)*(e*x+d)^4/(c*x^2+b*x)^(5/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*(e*x + d)^4/(c*x^2 + b*x)^(5/2),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.298283, size = 1, normalized size = 0. \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*(e*x + d)^4/(c*x^2 + b*x)^(5/2),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{\left (A + B x\right ) \left (d + e x\right )^{4}}{\left (x \left (b + c x\right )\right )^{\frac{5}{2}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x+A)*(e*x+d)**4/(c*x**2+b*x)**(5/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.302718, size = 500, normalized size = 1.47 \[ -\frac{\frac{2 \, A d^{4}}{b} -{\left ({\left ({\left (\frac{3 \, B x e^{4}}{c} - \frac{4 \,{\left (4 \, B b c^{5} d^{4} - 8 \, A c^{6} d^{4} - 4 \, B b^{2} c^{4} d^{3} e + 16 \, A b c^{5} d^{3} e - 3 \, B b^{3} c^{3} d^{2} e^{2} - 6 \, A b^{2} c^{4} d^{2} e^{2} + 8 \, B b^{4} c^{2} d e^{3} - 2 \, A b^{3} c^{3} d e^{3} - 5 \, B b^{5} c e^{4} + 2 \, A b^{4} c^{2} e^{4}\right )}}{b^{4} c^{3}}\right )} x - \frac{3 \,{\left (8 \, B b^{2} c^{4} d^{4} - 16 \, A b c^{5} d^{4} - 8 \, B b^{3} c^{3} d^{3} e + 32 \, A b^{2} c^{4} d^{3} e - 12 \, A b^{3} c^{3} d^{2} e^{2} + 8 \, B b^{5} c d e^{3} - 5 \, B b^{6} e^{4} + 2 \, A b^{5} c e^{4}\right )}}{b^{4} c^{3}}\right )} x - \frac{6 \,{\left (B b^{3} c^{3} d^{4} - 2 \, A b^{2} c^{4} d^{4} + 4 \, A b^{3} c^{3} d^{3} e\right )}}{b^{4} c^{3}}\right )} x}{3 \,{\left (c x^{2} + b x\right )}^{\frac{3}{2}}} - \frac{{\left (8 \, B c d e^{3} - 5 \, B b e^{4} + 2 \, A c e^{4}\right )}{\rm ln}\left ({\left | -2 \,{\left (\sqrt{c} x - \sqrt{c x^{2} + b x}\right )} \sqrt{c} - b \right |}\right )}{2 \, c^{\frac{7}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*(e*x + d)^4/(c*x^2 + b*x)^(5/2),x, algorithm="giac")
[Out]